package com.ifnk.portaljava.dapWeb.pojo;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Location implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7424734677698944491L;
	private int id;
	private String level0;
	private String level1;
	private String level2;
	private String level3;
	private Set<User> userSet = new HashSet<User>();
	private Set<Server> serverSet = new HashSet<Server>();

	public String toString() {
		return id+":"+level0+":"+level1+":"+level2+":"+level3;
	}
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLevel0() {
		return level0;
	}

	public void setLevel0(String level0) {
		this.level0 = level0;
	}

	public String getLevel1() {
		return level1;
	}

	public void setLevel1(String level1) {
		this.level1 = level1;
	}

	public String getLevel2() {
		return level2;
	}

	public void setLevel2(String level2) {
		this.level2 = level2;
	}

	public String getLevel3() {
		return level3;
	}

	public void setLevel3(String level3) {
		this.level3 = level3;
	}

	public Set<User> getUserSet() {
		return userSet;
	}

	public void setUserSet(Set<User> userSet) {
		this.userSet = userSet;
	}

	public Set<Server> getServerSet() {
		return serverSet;
	}

	public void setServerSet(Set<Server> serverSet) {
		this.serverSet = serverSet;
	}

}
